package com.sca.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author liuxianfei
 * @since 2020/11/3 10:40
 */
@Setter
@Getter
@TableName("sca_o_good")
public class Good extends AbstractEntity<Good> {

    private static final long serialVersionUID = -4656328149725041232L;

    /**
     * 名称
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    /**
     * 0：有效，1：无效
     */
    @TableField("is_delete")
    private Boolean del;

}
